package com.example.teesystem.entity.vo.violation;

import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import lombok.Data;

/**
 * @author pxr
 * @data 2022/4/12 15:24
 */

@Data
public class ViolationSelectVo {
    @ValidId(message = "paperId 为空",minValue = 0)
    private Integer paperId;

    @ValidId(minValue = 0, message = ValidErrorMessage.PAGE_CUR_VALID_FAIL)
    private Integer cur;

    /**
     * 每页个数
     */
    @ValidId(minValue = 0, message = ValidErrorMessage.PAGE_SIZE_VALID_FAIL)
    private Integer size;

}
